/*
 * @ProjectName: 编程学习
 * @Copyright:   2019 HangZhou Yi Dev, Ltd. All Right Reserved.
 * @address:     https://yiyuery.github.io/
 * @date:        2019/5/20 20:57
 * @email:       xiazhaoyang@live.com
 * @description: 本内容仅限于编程技术学习使用，转发请注明出处.
 */
package com.example.component.analyzer.common.dto;

/**
 * <p>
 *
 * </p>
 *
 * @author Yi
 * @version v1.0.0
 * @date 2019-07-03 22:14
 * @modificationHistory=========================逻辑或功能性重大变更记录
 * @modify By: {修改人} 2019-07-03
 * @modify reason: {方法名}:{原因}
 * ...
 */
public class GoldResponseDTO {

    /**
     * head : {"stat":"00","result":"操作成功","date":"2019-07-02 23:16:06"}
     * body : {"sourceCurrencyCode":"035","targetCurrencyCode":"001","ccygrpNm":"人民币金/人民币","buyRate":"308.96","sellRate":"308.46","currPercentDiff":"+0.849%","currDiff":"+2.60","priceTime":"20190702231606","tranCode":"T","sortPriority":38,"referPrice":"308.71","openPrice":"306.11","maxPrice":"309.08","minPrice":"304.77"}
     */

    private HeadBean head;
    private BodyBean body;

    public HeadBean getHead() {
        return head;
    }

    public void setHead(HeadBean head) {
        this.head = head;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class HeadBean {
        /**
         * stat : 00
         * result : 操作成功
         * date : 2019-07-02 23:16:06
         */

        private String stat;
        private String result;
        private String date;

        public String getStat() {
            return stat;
        }

        public void setStat(String stat) {
            this.stat = stat;
        }

        public String getResult() {
            return result;
        }

        public void setResult(String result) {
            this.result = result;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }
    }

    public static class BodyBean {
        /**
         * sourceCurrencyCode : 035
         * targetCurrencyCode : 001
         * ccygrpNm : 人民币金/人民币
         * buyRate : 308.96
         * sellRate : 308.46
         * currPercentDiff : +0.849%
         * currDiff : +2.60
         * priceTime : 20190702231606
         * tranCode : T
         * sortPriority : 38
         * referPrice : 308.71
         * openPrice : 306.11
         * maxPrice : 309.08
         * minPrice : 304.77
         */

        private String sourceCurrencyCode;
        private String targetCurrencyCode;
        private String ccygrpNm;
        private String buyRate;
        private String sellRate;
        private String currPercentDiff;
        private String currDiff;
        private String priceTime;
        private String tranCode;
        private int sortPriority;
        private String referPrice;
        private String openPrice;
        private String maxPrice;
        private String minPrice;

        public String getSourceCurrencyCode() {
            return sourceCurrencyCode;
        }

        public void setSourceCurrencyCode(String sourceCurrencyCode) {
            this.sourceCurrencyCode = sourceCurrencyCode;
        }

        public String getTargetCurrencyCode() {
            return targetCurrencyCode;
        }

        public void setTargetCurrencyCode(String targetCurrencyCode) {
            this.targetCurrencyCode = targetCurrencyCode;
        }

        public String getCcygrpNm() {
            return ccygrpNm;
        }

        public void setCcygrpNm(String ccygrpNm) {
            this.ccygrpNm = ccygrpNm;
        }

        public String getBuyRate() {
            return buyRate;
        }

        public void setBuyRate(String buyRate) {
            this.buyRate = buyRate;
        }

        public String getSellRate() {
            return sellRate;
        }

        public void setSellRate(String sellRate) {
            this.sellRate = sellRate;
        }

        public String getCurrPercentDiff() {
            return currPercentDiff;
        }

        public void setCurrPercentDiff(String currPercentDiff) {
            this.currPercentDiff = currPercentDiff;
        }

        public String getCurrDiff() {
            return currDiff;
        }

        public void setCurrDiff(String currDiff) {
            this.currDiff = currDiff;
        }

        public String getPriceTime() {
            return priceTime;
        }

        public void setPriceTime(String priceTime) {
            this.priceTime = priceTime;
        }

        public String getTranCode() {
            return tranCode;
        }

        public void setTranCode(String tranCode) {
            this.tranCode = tranCode;
        }

        public int getSortPriority() {
            return sortPriority;
        }

        public void setSortPriority(int sortPriority) {
            this.sortPriority = sortPriority;
        }

        public String getReferPrice() {
            return referPrice;
        }

        public void setReferPrice(String referPrice) {
            this.referPrice = referPrice;
        }

        public String getOpenPrice() {
            return openPrice;
        }

        public void setOpenPrice(String openPrice) {
            this.openPrice = openPrice;
        }

        public String getMaxPrice() {
            return maxPrice;
        }

        public void setMaxPrice(String maxPrice) {
            this.maxPrice = maxPrice;
        }

        public String getMinPrice() {
            return minPrice;
        }

        public void setMinPrice(String minPrice) {
            this.minPrice = minPrice;
        }
    }
}
